class AddNonCoreCourses < ActiveRecord::Migration
  def self.up
    Course.create(:title => 'Health', :number => 'HPS1040', :id => 212, :description => 'healthy', :hours => 2, :department_id => 3)
    Course.create(:number => 'CHEM1301', :title => 'General Chemistry', :id => 213, :description => 'Introduction to General Chemistry', :hours => 4, :department_id => 4)
    Course.create(:number => 'PHYS2211', :title => 'Physics I', :id => 214, :description => 'Introduction to basic Newtonian mechanics', :hours => 4, :department_id => 5)
    Course.create(:number => 'PHYS2212', :title => 'Physics II', :id => 215, :description => 'Introduction to basic electricity and magnetism', :hours => 4, :department_id => 5)
    Course.create(:number => 'ENGL1101', :title => 'English I', :id => 216, :description => 'Writing and Composition', :hours => 3, :department_id => 6)
    Course.create(:title => 'English II', :number => 'ENGL1102', :id => 217, :description => 'Writing and Composition', :hours => 3, :department_id => 6)
    Course.create(:number => 'HIST2112', :title => 'United States since 1877', :id => 218, :description => 'Everything that happened after 1877', :hours => 3, :department_id => 7)
  end

  def self.down
    Course.destroy_all "id < 219 and id > 211"
  end
end
